class @AdminSecurityModel extends Backbone.Model

    defaults:
        Login: ''
        Password: ''
        ReturnUrl: ''
        Errors: []
        SuccessMessage: ''

    url: SiteMap.Admin.Security.LogOn

    parse: (response) ->
        return {
            Login: response.Login
            Password: response.Password
            SuccessMessage: response.SuccessMessage
            Errors: response.Errors
            ReturnUrl: response.ReturnUrl
        }
